basics of creating an object